/* 
    Document   : kohcss
    Created on : 18/10/2011, 23:24:49
    Author     : KOMATSU
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/
html,body {
        margin:0;
	height:100%; /* needed for container min-height */
	background:black;
}
div#container {
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:1000px;
	background:white;
	
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/

	min-height:100%; /* real browsers */
}
div#content {
	padding:1em 1em 5em; /* bottom padding for footer */
}
	div#content p {
		text-align:justify;
		padding:0 1em;
	}
div#footer {
	position:absolute;
	width:100%;
	bottom:0; /* stick to bottom */
	background:white;
}
	div#footer p {
		padding:1em;
		margin:0;
	}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

li {
        float:left;
        width: 150px;
        border: 1px solid black;
}

li ul {
	position: absolute;
	left: 0;
	top: 31px;
	display: none;
}

ul li {
	position: relative;
}

ul li a {
	display: block;
	text-decoration: none;
        color: black;
	background: #fff;
	padding: 5px;
	border: 1px solid black;
	border-bottom: 0;
}

li:hover ul { 
    display: block;
}
li a:hover {
    color: white;
    background: orangered;
}